Optimal. Leaf size=211 \[ \frac {b c-a d}{9 a^2 x^9}-\frac {a^2 e-a b d+b^2 c}{7 a^3 x^7}+\frac {b^{5/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right ) \left (a^3 (-f)+a^2 b e-a b^2 d+b^3 c\right )}{a^{13/2}}+\frac {b^2 \left (a^3 (-f)+a^2 b e-a b^2 d+b^3 c\right )}{a^6 x}-\frac {b \left (a^3 (-f)+a^2 b e-a b^2 d+b^3 c\right )}{3 a^5 x^3}+\frac {a^3 (-f)+a^2 b e-a b^2 d+b^3 c}{5 a^4 x^5}-\frac {c}{11 a x^{11}} \]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 211, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {1802, 205} \begin {gather*} -\frac {b \left (a^2 b e+a^3 (-f)-a b^2 d+b^3 c\right )}{3 a^5 x^3}+\frac {a^2 b e+a^3 (-f)-a b^2 d+b^3 c}{5 a^4 x^5}+\frac {b^2 \left (a^2 b e+a^3 (-f)-a b^2 d+b^3 c\right )}{a^6 x}+\frac {b^{5/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right ) \left (a^2 b e+a^3 (-f)-a b^2 d+b^3 c\right )}{a^{13/2}}-\frac {a^2 e-a b d+b^2 c}{7 a^3 x^7}+\frac {b c-a d}{9 a^2 x^9}-\frac {c}{11 a x^{11}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 1802
Rubi steps
\begin {align*} \int \frac {c+d x^2+e x^4+f x^6}{x^{12} \left (a+b x^2\right )} \, dx &=\int \left (\frac {c}{a x^{12}}+\frac {-b c+a d}{a^2 x^{10}}+\frac {b^2 c-a b d+a^2 e}{a^3 x^8}+\frac {-b^3 c+a b^2 d-a^2 b e+a^3 f}{a^4 x^6}-\frac {b \left (-b^3 c+a b^2 d-a^2 b e+a^3 f\right )}{a^5 x^4}+\frac {b^2 \left (-b^3 c+a b^2 d-a^2 b e+a^3 f\right )}{a^6 x^2}-\frac {b^3 \left (-b^3 c+a b^2 d-a^2 b e+a^3 f\right )}{a^6 \left (a+b x^2\right )}\right ) \, dx\\ &=-\frac {c}{11 a x^{11}}+\frac {b c-a d}{9 a^2 x^9}-\frac {b^2 c-a b d+a^2 e}{7 a^3 x^7}+\frac {b^3 c-a b^2 d+a^2 b e-a^3 f}{5 a^4 x^5}-\frac {b \left (b^3 c-a b^2 d+a^2 b e-a^3 f\right )}{3 a^5 x^3}+\frac {b^2 \left (b^3 c-a b^2 d+a^2 b e-a^3 f\right )}{a^6 x}+\frac {\left (b^3 \left (b^3 c-a b^2 d+a^2 b e-a^3 f\right )\right ) \int \frac {1}{a+b x^2} \, dx}{a^6}\\ &=-\frac {c}{11 a x^{11}}+\frac {b c-a d}{9 a^2 x^9}-\frac {b^2 c-a b d+a^2 e}{7 a^3 x^7}+\frac {b^3 c-a b^2 d+a^2 b e-a^3 f}{5 a^4 x^5}-\frac {b \left (b^3 c-a b^2 d+a^2 b e-a^3 f\right )}{3 a^5 x^3}+\frac {b^2 \left (b^3 c-a b^2 d+a^2 b e-a^3 f\right )}{a^6 x}+\frac {b^{5/2} \left (b^3 c-a b^2 d+a^2 b e-a^3 f\right ) \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{a^{13/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.17, size = 211, normalized size = 1.00 \begin {gather*} \frac {b c-a d}{9 a^2 x^9}-\frac {a^2 e-a b d+b^2 c}{7 a^3 x^7}+\frac {b^{5/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right ) \left (a^3 (-f)+a^2 b e-a b^2 d+b^3 c\right )}{a^{13/2}}+\frac {b^2 \left (a^3 (-f)+a^2 b e-a b^2 d+b^3 c\right )}{a^6 x}+\frac {b \left (a^3 f-a^2 b e+a b^2 d-b^3 c\right )}{3 a^5 x^3}+\frac {a^3 (-f)+a^2 b e-a b^2 d+b^3 c}{5 a^4 x^5}-\frac {c}{11 a x^{11}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {c+d x^2+e x^4+f x^6}{x^{12} \left (a+b x^2\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.08, size = 458, normalized size = 2.17 \begin {gather*} \left [-\frac {3465 \, {\left (b^{5} c - a b^{4} d + a^{2} b^{3} e - a^{3} b^{2} f\right )} x^{11} \sqrt {-\frac {b}{a}} \log \left (\frac {b x^{2} - 2 \, a x \sqrt {-\frac {b}{a}} - a}{b x^{2} + a}\right ) - 6930 \, {\left (b^{5} c - a b^{4} d + a^{2} b^{3} e - a^{3} b^{2} f\right )} x^{10} + 2310 \, {\left (a b^{4} c - a^{2} b^{3} d + a^{3} b^{2} e - a^{4} b f\right )} x^{8} - 1386 \, {\left (a^{2} b^{3} c - a^{3} b^{2} d + a^{4} b e - a^{5} f\right )} x^{6} + 630 \, a^{5} c + 990 \, {\left (a^{3} b^{2} c - a^{4} b d + a^{5} e\right )} x^{4} - 770 \, {\left (a^{4} b c - a^{5} d\right )} x^{2}}{6930 \, a^{6} x^{11}}, \frac {3465 \, {\left (b^{5} c - a b^{4} d + a^{2} b^{3} e - a^{3} b^{2} f\right )} x^{11} \sqrt {\frac {b}{a}} \arctan \left (x \sqrt {\frac {b}{a}}\right ) + 3465 \, {\left (b^{5} c - a b^{4} d + a^{2} b^{3} e - a^{3} b^{2} f\right )} x^{10} - 1155 \, {\left (a b^{4} c - a^{2} b^{3} d + a^{3} b^{2} e - a^{4} b f\right )} x^{8} + 693 \, {\left (a^{2} b^{3} c - a^{3} b^{2} d + a^{4} b e - a^{5} f\right )} x^{6} - 315 \, a^{5} c - 495 \, {\left (a^{3} b^{2} c - a^{4} b d + a^{5} e\right )} x^{4} + 385 \, {\left (a^{4} b c - a^{5} d\right )} x^{2}}{3465 \, a^{6} x^{11}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.36, size = 249, normalized size = 1.18 \begin {gather*} \frac {{\left (b^{6} c - a b^{5} d - a^{3} b^{3} f + a^{2} b^{4} e\right )} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b} a^{6}} + \frac {3465 \, b^{5} c x^{10} - 3465 \, a b^{4} d x^{10} - 3465 \, a^{3} b^{2} f x^{10} + 3465 \, a^{2} b^{3} x^{10} e - 1155 \, a b^{4} c x^{8} + 1155 \, a^{2} b^{3} d x^{8} + 1155 \, a^{4} b f x^{8} - 1155 \, a^{3} b^{2} x^{8} e + 693 \, a^{2} b^{3} c x^{6} - 693 \, a^{3} b^{2} d x^{6} - 693 \, a^{5} f x^{6} + 693 \, a^{4} b x^{6} e - 495 \, a^{3} b^{2} c x^{4} + 495 \, a^{4} b d x^{4} - 495 \, a^{5} x^{4} e + 385 \, a^{4} b c x^{2} - 385 \, a^{5} d x^{2} - 315 \, a^{5} c}{3465 \, a^{6} x^{11}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 286, normalized size = 1.36 \begin {gather*} -\frac {b^{3} f \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b}\, a^{3}}+\frac {b^{4} e \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b}\, a^{4}}-\frac {b^{5} d \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b}\, a^{5}}+\frac {b^{6} c \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b}\, a^{6}}-\frac {b^{2} f}{a^{3} x}+\frac {b^{3} e}{a^{4} x}-\frac {b^{4} d}{a^{5} x}+\frac {b^{5} c}{a^{6} x}+\frac {b f}{3 a^{2} x^{3}}-\frac {b^{2} e}{3 a^{3} x^{3}}+\frac {b^{3} d}{3 a^{4} x^{3}}-\frac {b^{4} c}{3 a^{5} x^{3}}-\frac {f}{5 a \,x^{5}}+\frac {b e}{5 a^{2} x^{5}}-\frac {b^{2} d}{5 a^{3} x^{5}}+\frac {b^{3} c}{5 a^{4} x^{5}}-\frac {e}{7 a \,x^{7}}+\frac {b d}{7 a^{2} x^{7}}-\frac {b^{2} c}{7 a^{3} x^{7}}-\frac {d}{9 a \,x^{9}}+\frac {b c}{9 a^{2} x^{9}}-\frac {c}{11 a \,x^{11}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.95, size = 214, normalized size = 1.01 \begin {gather*} \frac {{\left (b^{6} c - a b^{5} d + a^{2} b^{4} e - a^{3} b^{3} f\right )} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b} a^{6}} + \frac {3465 \, {\left (b^{5} c - a b^{4} d + a^{2} b^{3} e - a^{3} b^{2} f\right )} x^{10} - 1155 \, {\left (a b^{4} c - a^{2} b^{3} d + a^{3} b^{2} e - a^{4} b f\right )} x^{8} + 693 \, {\left (a^{2} b^{3} c - a^{3} b^{2} d + a^{4} b e - a^{5} f\right )} x^{6} - 315 \, a^{5} c - 495 \, {\left (a^{3} b^{2} c - a^{4} b d + a^{5} e\right )} x^{4} + 385 \, {\left (a^{4} b c - a^{5} d\right )} x^{2}}{3465 \, a^{6} x^{11}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.99, size = 197, normalized size = 0.93 \begin {gather*} \frac {b^{5/2}\,\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )\,\left (-f\,a^3+e\,a^2\,b-d\,a\,b^2+c\,b^3\right )}{a^{13/2}}-\frac {\frac {c}{11\,a}-\frac {x^6\,\left (-f\,a^3+e\,a^2\,b-d\,a\,b^2+c\,b^3\right )}{5\,a^4}+\frac {x^2\,\left (a\,d-b\,c\right )}{9\,a^2}+\frac {x^4\,\left (e\,a^2-d\,a\,b+c\,b^2\right )}{7\,a^3}+\frac {b\,x^8\,\left (-f\,a^3+e\,a^2\,b-d\,a\,b^2+c\,b^3\right )}{3\,a^5}-\frac {b^2\,x^{10}\,\left (-f\,a^3+e\,a^2\,b-d\,a\,b^2+c\,b^3\right )}{a^6}}{x^{11}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 84.14, size = 398, normalized size = 1.89 \begin {gather*} \frac {\sqrt {- \frac {b^{5}}{a^{13}}} \left (a^{3} f - a^{2} b e + a b^{2} d - b^{3} c\right ) \log {\left (- \frac {a^{7} \sqrt {- \frac {b^{5}}{a^{13}}} \left (a^{3} f - a^{2} b e + a b^{2} d - b^{3} c\right )}{a^{3} b^{3} f - a^{2} b^{4} e + a b^{5} d - b^{6} c} + x \right )}}{2} - \frac {\sqrt {- \frac {b^{5}}{a^{13}}} \left (a^{3} f - a^{2} b e + a b^{2} d - b^{3} c\right ) \log {\left (\frac {a^{7} \sqrt {- \frac {b^{5}}{a^{13}}} \left (a^{3} f - a^{2} b e + a b^{2} d - b^{3} c\right )}{a^{3} b^{3} f - a^{2} b^{4} e + a b^{5} d - b^{6} c} + x \right )}}{2} + \frac {- 315 a^{5} c + x^{10} \left (- 3465 a^{3} b^{2} f + 3465 a^{2} b^{3} e - 3465 a b^{4} d + 3465 b^{5} c\right ) + x^{8} \left (1155 a^{4} b f - 1155 a^{3} b^{2} e + 1155 a^{2} b^{3} d - 1155 a b^{4} c\right ) + x^{6} \left (- 693 a^{5} f + 693 a^{4} b e - 693 a^{3} b^{2} d + 693 a^{2} b^{3} c\right ) + x^{4} \left (- 495 a^{5} e + 495 a^{4} b d - 495 a^{3} b^{2} c\right ) + x^{2} \left (- 385 a^{5} d + 385 a^{4} b c\right )}{3465 a^{6} x^{11}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________